package actions;

import jason.asSemantics.DefaultInternalAction;
import jason.asSemantics.TransitionSystem;
import jason.asSemantics.Unifier;
import jason.asSyntax.StringTerm;
import jason.asSyntax.Term;

import ecomp.architecture.EcompArch;
import ecomp.models.LocalWorldModel;

@SuppressWarnings("serial")
public class debug_felipe extends DefaultInternalAction{
	EcompArch arch;
	LocalWorldModel localWorldModel;
	
	@Override
	public Object execute(TransitionSystem ts, Unifier un, Term[] args) throws Exception {
		
		arch = (EcompArch) ts.getUserAgArch();
		localWorldModel = arch.localWorldModel;
		
		String str = ((StringTerm)args[0]).getString();
		System.out.println(str);
		// everything ok, so returns true
		return true;
	}
}